#pragma once
#include "CJsonObject.hpp"
class CUtils
{
public:
	CUtils();
	~CUtils();
	 static string readFileIntoString(char * filename);
	 static string getCfgString(string key);
	 static int timeDiff(SYSTEMTIME st1, SYSTEMTIME st2);
	 static bool inRect(CPoint point, CRect rect);
	 static bool inLine(CPoint point, vector<CvPoint> line);
	 static void getRelativePos(CWnd* win, CRect clientRect, CRect windowRect, int cols, int rows, CPoint& p);
};

